home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
codelib8
/
v_10_06
/
1006057b
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1995-11-01
|
295 b
|
13 lines
#include <stdio.h>
int main(void)
{
int TestValue;
/* get the value to increment */
scanf("%d",&TestValue);
/* increment it (in assembler) */
#asm inc WORD PTR TestValue
/* print the incremented value */
printf("%d",TestValue);
}